import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import mutations from './mutations'
Vue.use(Vuex)

/* eslint-disable */

export default new Vuex.Store({
    state,
    actions: {
        changeCityAction(ctx, city) {
            ctx.commit('changeCityMutation', city)
        }
    },
    mutations
})